<div class="pageContent">
    <form method="post" action="${rc.getContextPath()}/manage/leave/start" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
        <div class="pageFormContent" layoutH="46">
        <input type="hidden" name="navTabId" value="${navTabId!''}">
        <input type="hidden" name="processdefinitionKey" value="leave">
        <fieldset>
        <dl>
            <dt>请假类型：</dt>
            <dd>
                <select name="leaveType" class="required" id="enable">                
                    <option value="公休">公休</option>
                    <option value="病休">病休</option>
                    <option value="调休">调休</option>
                </select>
            </dd>
        </dl>
        <dl>
            <dt>开始时间：</dt>
            <dd><input name="startTime"  type="text" class="required date" dateFmt="yyyy-MM-dd HH:mm:ss" max_Date="{endTime}"/>
            <a class="inputDateButton" href="javascript:;">选择</a></dd>
        </dl>
        <dl>
            <dt>结束时间：</dt>
            <dd><input name="endTime"  type="text"  class="required date" dateFmt="yyyy-MM-dd HH:mm:ss" min_Date="{startTime}"/>
            <a class="inputDateButton" href="javascript:;">选择</a></dd>
        </dl>
        <dl class="nowrap">
            <dt>请假原因：</dt>
            <dd><textarea name="reason" rows="2" cols="50" ></textarea></dd>
        </dl>
        </fieldset>
        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit"><@label key="submit.B">提交</@label></button></div></div></li>
                <li>
                    <div class="buttonActiveGrey"><div class="buttonContent"><button type="button" class="close"><@label key="cancel.B">取消</@label></button></div></div>
                </li>
            </ul>
        </div>
    </form>
</div>
